package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

import java.util.Date;

public class BankParticulars {
    public BankParticulars() {
    }

    public BankParticulars(Integer pkBankPid, Integer bankId, String deputyCard, Integer typeId, Date handleDate, Integer branchId, Integer currencyTypeId, Date validity) {
        this.pkBankPid = pkBankPid;
        this.bankId = bankId;
        this.deputyCard = deputyCard;
        this.typeId = typeId;
        this.handleDate = handleDate;
        this.branchId = branchId;
        this.currencyTypeId = currencyTypeId;
        this.validity = validity;
    }

    public BankParticulars(Integer bankId, String deputyCard, Integer typeId, Date handleDate, Integer branchId, Integer currencyTypeId, Date validity) {
        this.bankId = bankId;
        this.deputyCard = deputyCard;
        this.typeId = typeId;
        this.handleDate = handleDate;
        this.branchId = branchId;
        this.currencyTypeId = currencyTypeId;
        this.validity = validity;
    }
    public BankParticulars(Integer bankId, Integer typeId, Integer branchId, Integer currencyTypeId) {
        this.bankId = bankId;
        this.typeId = typeId;
        this.branchId = branchId;
        this.currencyTypeId = currencyTypeId;
    }



    @Override
    public String toString() {
        return "BankParticulars{" +
                "pkBankPid=" + pkBankPid +
                ", bankId=" + bankId +
                ", deputyCard='" + deputyCard + '\'' +
                ", typeId=" + typeId +
                ", handleDate=" + handleDate +
                ", branchId=" + branchId +
                ", currencyTypeId=" + currencyTypeId +
                ", validity=" + validity +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.pk_bank_pid
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer pkBankPid;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.bank_id
     *
     * @mbggenerated
     */
    private Integer bankId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.deputy_card
     *
     * @mbggenerated
     */
    private String deputyCard;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.type_id
     *
     * @mbggenerated
     */
    private Integer typeId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.handle_date
     *
     * @mbggenerated
     */
    private Date handleDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.branch_id
     *
     * @mbggenerated
     */
    private Integer branchId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.currency_type_id
     *
     * @mbggenerated
     */
    private Integer currencyTypeId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_particulars.validity
     *
     * @mbggenerated
     */
    private Date validity;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.pk_bank_pid
     *
     * @return the value of bank_particulars.pk_bank_pid
     *
     * @mbggenerated
     */
    public Integer getPkBankPid() {
        return pkBankPid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.pk_bank_pid
     *
     * @param pkBankPid the value for bank_particulars.pk_bank_pid
     *
     * @mbggenerated
     */
    public void setPkBankPid(Integer pkBankPid) {
        this.pkBankPid = pkBankPid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.bank_id
     *
     * @return the value of bank_particulars.bank_id
     *
     * @mbggenerated
     */
    public Integer getBankId() {
        return bankId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.bank_id
     *
     * @param bankId the value for bank_particulars.bank_id
     *
     * @mbggenerated
     */
    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.deputy_card
     *
     * @return the value of bank_particulars.deputy_card
     *
     * @mbggenerated
     */
    public String getDeputyCard() {
        return deputyCard;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.deputy_card
     *
     * @param deputyCard the value for bank_particulars.deputy_card
     *
     * @mbggenerated
     */
    public void setDeputyCard(String deputyCard) {
        this.deputyCard = deputyCard == null ? null : deputyCard.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.type_id
     *
     * @return the value of bank_particulars.type_id
     *
     * @mbggenerated
     */
    public Integer getTypeId() {
        return typeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.type_id
     *
     * @param typeId the value for bank_particulars.type_id
     *
     * @mbggenerated
     */
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.handle_date
     *
     * @return the value of bank_particulars.handle_date
     *
     * @mbggenerated
     */
    public Date getHandleDate() {
        return handleDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.handle_date
     *
     * @param handleDate the value for bank_particulars.handle_date
     *
     * @mbggenerated
     */
    public void setHandleDate(Date handleDate) {
        this.handleDate = handleDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.branch_id
     *
     * @return the value of bank_particulars.branch_id
     *
     * @mbggenerated
     */
    public Integer getBranchId() {
        return branchId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.branch_id
     *
     * @param branchId the value for bank_particulars.branch_id
     *
     * @mbggenerated
     */
    public void setBranchId(Integer branchId) {
        this.branchId = branchId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.currency_type_id
     *
     * @return the value of bank_particulars.currency_type_id
     *
     * @mbggenerated
     */
    public Integer getCurrencyTypeId() {
        return currencyTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.currency_type_id
     *
     * @param currencyTypeId the value for bank_particulars.currency_type_id
     *
     * @mbggenerated
     */
    public void setCurrencyTypeId(Integer currencyTypeId) {
        this.currencyTypeId = currencyTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_particulars.validity
     *
     * @return the value of bank_particulars.validity
     *
     * @mbggenerated
     */
    public Date getValidity() {
        return validity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_particulars.validity
     *
     * @param validity the value for bank_particulars.validity
     *
     * @mbggenerated
     */
    public void setValidity(Date validity) {
        this.validity = validity;
    }
}